package com.exam.mysql;

import com.exam.entity.SysAnswerHistory;
import com.exam.entity.SysAnswerHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysAnswerHistoryDao {
    long countByExample(SysAnswerHistoryExample example);

    int deleteByExample(SysAnswerHistoryExample example);

    int deleteByPrimaryKey(Integer historyid);

    int insert(SysAnswerHistory record);

    int insertSelective(SysAnswerHistory record);

    List<SysAnswerHistory> selectByExample(SysAnswerHistoryExample example);

    SysAnswerHistory selectByPrimaryKey(Integer historyid);

    int updateByExampleSelective(@Param("record") SysAnswerHistory record, @Param("example") SysAnswerHistoryExample example);

    int updateByExample(@Param("record") SysAnswerHistory record, @Param("example") SysAnswerHistoryExample example);

    int updateByPrimaryKeySelective(SysAnswerHistory record);

    int updateByPrimaryKey(SysAnswerHistory record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_answer_history
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysAnswerHistory> list);
}